package com.ai;

import com.alibaba.druid.pool.DruidDataSource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.sql.DataSource;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = JdbiApplication.class)
public class JdbiApplication {

    @Autowired
    private DataSource dataSource;
//
////    public void testDataSource() throws SQLException {
////        Connection connection = dataSource.getConnection();
////        System.out.println(connection);
////    }

    @Test
    public void contextLoads() {

    }
}
